<!-- Snippet of code for HTML form layout -->

{% for field in form %}
    {% if field.is_hidden %}
        {{ field }}
    {% else %}
        {{ field.label_tag }}: {{ field }}
        {% if field.errors %}
            {% for error in field.errors %}
                {{ error }}
            {% endfor %}
        {% endif %}
    {% endif %}
{% endfor %}
